/*
 * Copyright 2022 NXP
 * SPDX-License-Identifier: MIT
 */

#ifndef GUI_GUIDER_H
#define GUI_GUIDER_H
#ifdef __cplusplus
extern "C" {
#endif

#include "lvgl/lvgl.h"
#include "guider_fonts.h"

typedef struct
{
	lv_obj_t *screen;
	lv_obj_t *screen_cont_1;
	lv_obj_t *screen_name;
	lv_obj_t *screen_time;
	lv_obj_t *screen_battery;
	lv_obj_t *screen_tileview_1;
	lv_obj_t *screen_tileview_1_view1;
	lv_obj_t *screen_btn_a7;
	lv_obj_t *screen_btn_a7_label;
	lv_obj_t *screen_btn_a4;
	lv_obj_t *screen_btn_a4_label;
	lv_obj_t *screen_btn_a3;
	lv_obj_t *screen_btn_a3_label;
	lv_obj_t *screen_btn_a2;
	lv_obj_t *screen_btn_a2_label;
	lv_obj_t *screen_btn_a1;
	lv_obj_t *screen_btn_a1_label;
	lv_obj_t *screen_tileview_1_view2;
	lv_obj_t *screen_btn_b1;
	lv_obj_t *screen_btn_b1_label;
	lv_obj_t *screen_btn_b2;
	lv_obj_t *screen_btn_b2_label;
	lv_obj_t *screen_btn_b3;
	lv_obj_t *screen_btn_b3_label;
	lv_obj_t *screen_btn_b4;
	lv_obj_t *screen_btn_b4_label;
	lv_obj_t *screen_cont_2;
	lv_obj_t *screen_btn_7;
	lv_obj_t *screen_btn_7_label;
	lv_obj_t *MyDevice;
	lv_obj_t *MyDevice_tileview_1;
	lv_obj_t *MyDevice_tileview_1_tileview;
	lv_obj_t *MyDevice_btn_1;
	lv_obj_t *MyDevice_btn_1_label;
	lv_obj_t *MyDevice_btn_1_label_1;
	lv_obj_t *MyDevice_btn_1_label_2;
	lv_obj_t *MyDevice_btn_2;
	lv_obj_t *MyDevice_btn_2_label;
	lv_obj_t *MyDevice_btn_2_label_3;
	lv_obj_t *MyDevice_btn_2_label_4;
	lv_obj_t *MyDevice_btn_3;
	lv_obj_t *MyDevice_btn_3_label;
	lv_obj_t *MyDevice_btn_3_label_5;
	lv_obj_t *MyDevice_btn_3_label_6;
	lv_obj_t *MyDevice_btn_4;
	lv_obj_t *MyDevice_btn_4_label;
	lv_obj_t *MyDevice_btn_4_label_7;
	lv_obj_t *MyDevice_btn_4_label_8;
	lv_obj_t *MyDevice_btn_4_label_9;
	lv_obj_t *MyDevice_btn_4_label_10;
	lv_obj_t *MyDevice_line_1;
	lv_obj_t *MyDevice_btn_4_label_11;
	lv_obj_t *MyDevice_btn_4_label_12;
	lv_obj_t *MyDevice_btn_4_label_13;
	lv_obj_t *MyDevice_btn_4_label_14;
	lv_obj_t *MyDevice_line_2;
	lv_obj_t *MyDevice_btn_4_label_15;
	lv_obj_t *MyDevice_btn_4_label_16;
	lv_obj_t *MyDevice_btn_4_label_17;
	lv_obj_t *MyDevice_btn_4_label_18;
	lv_obj_t *MyDevice_back;
	lv_obj_t *MyDevice_back_label;
	lv_obj_t *Calendar;
	lv_obj_t *Calendar_calendar_1;
	lv_obj_t *Calendar_btn_1;
	lv_obj_t *Calendar_btn_1_label;
	lv_obj_t *BreathingLight;
	lv_obj_t *BreathingLight_led_1;
	lv_obj_t *BreathingLight_spinbox_1;
	lv_obj_t *BreathingLight_spinbox_1_btn;
	lv_obj_t *BreathingLight_spinbox_1_btn_minus;
	lv_obj_t *BreathingLight_BL_sw_1;
	lv_obj_t *BreathingLight_label_1;
	lv_obj_t *BreathingLight_label_2;
	lv_obj_t *BreathingLight_btn_1;
	lv_obj_t *BreathingLight_btn_1_label;
	lv_obj_t *Voltmeter;
	lv_obj_t *Voltmeter_chart_1;
	lv_obj_t *Voltmeter_gauge_1;
	lv_obj_t *Voltmeter_btn_1;
	lv_obj_t *Voltmeter_btn_1_label;
	lv_obj_t *Gyro;
	lv_obj_t *Gyro_btn_1;
	lv_obj_t *Gyro_btn_1_label;
	lv_obj_t *Gyro_temp;
	lv_obj_t *Gyro_temp_value;
	lv_obj_t *Gyro_pitch;
	lv_obj_t *Gyro_pitch_value;
	lv_obj_t *Gyro_roll;
	lv_obj_t *Gyro_roll_value;
	lv_obj_t *Gyro_yaw;
	lv_obj_t *Gyro_yaw_value;
	lv_obj_t *Gyro_gyro2screen;
	lv_obj_t *Gyro_gyro2screen_label;
	lv_obj_t *thermometer;
	lv_obj_t *thermometer_chart_1;
	lv_obj_t *thermometer_arc_temp;
	lv_obj_t *thermometer_arc_humi;
	lv_obj_t *thermometer_thermometer2screen;
	lv_obj_t *thermometer_thermometer2screen_label;
	lv_obj_t *thermometer_temp;
	lv_obj_t *thermometer_humi;
	lv_obj_t *thermometer_temp_value;
	lv_obj_t *thermometer_hum_value;
}lv_ui;

void setup_ui(lv_ui *ui);
extern lv_ui guider_ui;
void setup_scr_screen(lv_ui *ui);
void setup_scr_MyDevice(lv_ui *ui);
void setup_scr_Calendar(lv_ui *ui);
static lv_calendar_date_t today;
static lv_calendar_date_t highlihted_days[1];
void setup_scr_BreathingLight(lv_ui *ui);
void setup_scr_Voltmeter(lv_ui *ui);
void setup_scr_Gyro(lv_ui *ui);
void setup_scr_thermometer(lv_ui *ui);

#ifdef __cplusplus
}
#endif
#endif